package com.harmontronics.hanma.paas.paas.domain.job.entity;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class JobListPage<T> extends Page<T> {

    /**
     * $column.comments
     */
    private Long jobId;
    /**
     * 任务名称
     */
    private String jobName;
    /**
     * 任务组名
     */
    private String jobGroup;
    /**
     * 调用目标字符串
     */
    private String invokeTarget;
    /**
     * cron执行表达式
     */
    private String cronExpression;
    /**
     * 计划执行错误策略
     */
    private String misfirePolicy;
    /**
     * 是否并发执行
     */
    private String concurrent;
    /**
     * 是否正常状态
     */
    private String status;
    /**
     * 备注
     */
    private String remark;

    private Long scriptId;

    private String scriptName;

    public JobListPage(long current, long size) {
        super(current, size);
    }

}
